﻿#pragma once

#include "common.h"
#include "Logger.h"
#include "Runable.h"

class TcpServer : public Runable
{
public:
	TcpServer(int port);
	~TcpServer();

	int start();

	void stop();

	int port;

	SOCKET slisten;

	HANDLE acceptThreadHandle;
};

